package com.zhbr.mvp.contract;

import com.zhbr.entity.Account;
import com.zhbr.mvp.base.model.IModel;
import com.zhbr.mvp.base.view.IView;

import java.util.Map;

import rx.Subscriber;

public class AlterAccountContract {

    public  interface View extends IView{
        void alterAccount(Account account);
        void getAccountInfoSuccess(Account account);
        Void alterSuccess();
    }

    public interface Presenter{
        void alterAccount();
        void getAccountInfo();
    }


    public interface Model extends IModel {

        void getAccountInfo(Subscriber subscriber);
        void alterAccount(Map param, Subscriber subscriber);

    }
}
